package com.guigui.gulimall.ware.feign;

import com.guigui.common.to.OrderTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("gulimall-order")
public interface OrderFeignService {

    @GetMapping("/order/order/ordersn/{orderSn}")
    OrderTo getOrderEntityByOrderSn(@PathVariable("orderSn") String orderSn);

}
